<%@page import="bean.MemberShipVo"%>
<%@page import="bean.MemberShipDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src='/kiSunnyShop/js/main.js'></script>
<link rel='stylesheet' href='/kiSunnyShop/css/Insertform.css' />
<title>search_pw</title>

</head>
<body>

<jsp:useBean id="vo" class="bean.MemberShipVo" scope="page"/>
<jsp:setProperty property="*" name="vo"/>
<%
	MemberShipDTO dto =new MemberShipDTO();
	dto.setVo(vo);
	MemberShipVo v = dto.selecTwo();
%>
<div id="wrapper1">	
<form name ="ff" method='post' action ='index1.jsp?inc=./Community/m_search_pw_result.jsp'>
<h1>비밀번호 찾기</h1>
<ul>
	<li><label>ID:</label>
			<input type='text' id='mid' name='mid' value="<%=vo.getMid()%>"/></li><br/>

<li><label>비밀번호 질문:</label>
<select name='question' id='question'>
	<option value="">질문을 선택하세요.</option>
	<option value='1'>가장 좋아하는 색깔은?</option>
	<option value='2'>가장 좋아하는 계절은?</option>
	<option value='3'>가장 좋아하는 음식은?</option>
	<option value='4'>가장 좋아하는 배우는?</option>
</select></li><br/>

<li><label>비밀번호 답변:</label>
	<input type='text' id="answer" name="answer" value="<%=vo.getAnswer() %>"/></li><br/>

</ul>

<input type="submit" class="btnStyle" value='비밀번호 찾기' id="btnSp2"/>
</form>
</div>
	<form name='hifrm' method='post' >
		<input type='hidden' name='question'>
		<input type='hidden' name='answer'>
	</form>
<script>search_pw2(); </script>
</body>
</html>